/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.Date;

/**
 *
 * @author khanhanh
 */
public class CarBooking {

    private int carBookingID;
    private int carID;
    private int customerID;
    private boolean isDriver;
    private Date pickUpDate;
    private Date dropOffDate;
    private int quantity;
    private float price;
    private boolean available;

    public CarBooking() {
    }

    public CarBooking(int carBookingID, int carID, int customerID, boolean isDriver, Date pickUpDate, Date dropOffDate, int quantity, float price, boolean avaiable) {
        this.carBookingID = carBookingID;
        this.carID = carID;
        this.customerID = customerID;
        this.isDriver = isDriver;
        this.pickUpDate = pickUpDate;
        this.dropOffDate = dropOffDate;
        this.quantity = quantity;
        this.price = price;
        this.available = avaiable;
    }

    public boolean isAvaiable() {
        return available;
    }

    public void setAvaiable(boolean avaiable) {
        this.available = avaiable;
    }

    public int getCarBookingID() {
        return carBookingID;
    }

    public void setCarBookingID(int carBookingID) {
        this.carBookingID = carBookingID;
    }

    public int getCarID() {
        return carID;
    }

    public void setCarID(int carID) {
        this.carID = carID;
    }

    public int getCustomerID() {
        return customerID;
    }

    public void setCustomerID(int customerID) {
        this.customerID = customerID;
    }

    public Date getDropOffDate() {
        return dropOffDate;
    }

    public void setDropOffDate(Date dropOffDate) {
        this.dropOffDate = dropOffDate;
    }

    public boolean isIsDriver() {
        return isDriver;
    }

    public void setIsDriver(boolean isDriver) {
        this.isDriver = isDriver;
    }

    public Date getPickUpDate() {
        return pickUpDate;
    }

    public void setPickUpDate(Date pickUpDate) {
        this.pickUpDate = pickUpDate;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
